#ifndef __PACKET_FACTORY_H__
#define __PACKET_FACTORY_H__

#include "packet.h"

PACKET_HDR*  		create_packet( PACKET_TYPE type );
COMMAND_OK_PACKET*  create_packet_command_ok( int16_t id_command );
STATUS_PACKET*		create_packet_status( int16_t num_lot, int16_t time, int16_t num_box, int16_t nb_defect_piece );
ERROR_PACKET*		create_packet_error( int8_t id_error, int16_t parameter );

#endif